from common.database import db


# 评论表(对应数据库字段)
class comment(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    content = db.Column(db.String(255))
    plant_id = db.Column(db.Integer)
    user_id = db.Column(db.String(50))
    create_time = db.Column(db.DateTime)